package com.red.star.wechat.data.mappers;

import com.red.star.wechat.data.core.base.MyMapper;
import com.red.star.wechat.data.entity.Employee;
import com.red.star.wechat.data.entity.EmployeeIdentity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Xucan
 * @Description:导购身份变更Mapper
 * @create 2018-03-27 14:25
 **/
public interface EmployeeIdentityMapper extends MyMapper<EmployeeIdentity> {

	List<EmployeeIdentity> findAllEmployeeIdentity(EmployeeIdentity employeeIdentity);

	List<Employee> findEmployeeIdentityByMerchantIdAndIsShopOwner(@Param("merchantId")Integer merchantId, @Param("isShopOwner")Boolean isShopOwner);
}
